<!--工作审核列表-->
<div class="tpl-content-wrapper">
    <div class="container-fluid am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span>工作审核管理
                    <small>AI Future</small>
                </div>
            </div>
        </div>
    </div>
    <div class="row-content am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title  am-cf">工作审核管理</div>


                    </div>
                    <div class="widget-body  am-fr">

                        <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                            <div class="am-form-group">
                                <div class="am-btn-toolbar">
                                    <div class="am-btn-group am-btn-group-xs">
                                        <a href="<?php echo \yii\helpers\Url::toRoute('index/job-add');?>">
                                            <button type="button" class="am-btn am-btn-default am-btn-success"><span
                                                    class="am-icon-plus"></span>新增
                                            </button>
                                        </a>
                                        <a  href="<?php echo \yii\helpers\Url::toRoute('index/job-examine');?>">
                                            <button type="button" class="am-btn am-btn-default am-btn-warning"><span
                                                    class="am-icon-archive"></span> 审核
                                            </button>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                            <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                                <input type="text" class="am-form-field ">
                                <span class="am-input-group-btn">
            <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"
                    type="button"></button>
          </span>
                            </div>
                        </div>

                        <div class="am-u-sm-12">
                            <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black "
                                   id="example-r">
                                <thead>
                                <tr>
                                    <th>联系姓名</th>
                                    <th>联系电话</th>
                                    <th>工作名称</th>
                                    <th>大概工薪</th>
                                    <th>工作种类</th>
                                    <th>工作要求</th>
                                    <th>审核</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php foreach($job as $data):?>
                                    <tr class="gradeX">
                                        <td><?php echo $data->owner;?></td>
                                        <td><?php echo $data->telephone;?></td>
                                        <td><?php echo $data->name;?></td>
                                        <td><?php echo $data->general_wage;?></td>
                                        <td><?php echo $data->kind;?></td>
                                        <td><a class="am-badge am-badge-secondary am-radius" data-am-popover="{content: '<?php echo $data->request;?>', trigger: 'hover focus'}">查看需求</a></td>
                                        <td>
                                            <a href="<?php echo \yii\helpers\Url::to(['index/job-examine','id'=>$data->id,'kind'=>1]);?>">
                                                <button>
                                                    <span class="am-icon-archive"></span> 通过
                                                </button>
                                            </a>
                                            <a href="<?php echo \yii\helpers\Url::to(['index/job-examine','id'=>$data->id,'kind'=>0]);?>">
                                                <button>
                                                    <span class="am-icon-trash-o"></span> 拒绝
                                                </button>
                                            </a>
                                        </td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="<?php echo \yii\helpers\Url::to(['index/job-modify','id'=>$data->id]);?>">
                                                    <i class="am-icon-pencil"></i> 编辑
                                                </a>
                                            </div>
                                        </td>
                                    </tr>
                                <?php endforeach;?>
                                </tbody>
                            </table>
                        </div>
                        <div class="am-u-lg-12 am-cf">

                            <div class="am-fr">
                                <ul class="am-pagination tpl-pagination">
                                    <li class="am-disabled"><a href="#">«</a></li>
                                    <li class="am-active"><a href="#">1</a></li>
                                    <li><a href="#">2</a></li>
                                    <li><a href="#">3</a></li>
                                    <li><a href="#">4</a></li>
                                    <li><a href="#">5</a></li>
                                    <li><a href="#">»</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>